package com.wcs.exam.controller.api.req;

import com.wcs.exam.common.enums.LoginClientEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * Api-用户注册登录日志-请求参数
 * </p>
 *
 * @author wcs
 * @since 2024-07-06
 */
@Getter
@Setter
@Accessors(chain = true)
@Schema(description = "Api-用户注册登录日志-查询参数")
public class ApiLoginPasswordReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "登录密码，RSA加密")
    private String mobilePwdEncrypt;

    @Schema(description = "验证KEY")
    private String verToken;

    @Schema(description = "验证码")
    private String verCode;

    @Schema(description = "登录客户端")
    private Integer loginClient = LoginClientEnum.PC.getCode();

    @Schema(description = "登录IP")
    private String loginIp;

    @Schema(description = "国家")
    private String country;
    
    @Schema(description = "省")
    private String province;

    @Schema(description = "市")
    private String city;

    @Schema(description = "浏览器")
    private String browser;

    @Schema(description = "操作系统")
    private String os;
}
